{extend name="main/index" /}
{block name="main"}
<div class="main-content">

    <div class="breadcrumbs" id="breadcrumbs">
        <script type="text/javascript">
            try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
        </script>

        <ul class="breadcrumb">
            <li>
                <i class="icon-home home-icon"></i>
                <a href="{:url('admin/safe/index')}">安全计划</a>
            </li>
            <li class="active">修改安全措施</li>
        </ul><!-- .breadcrumb -->

        <div class="nav-search" id="nav-search">
            <form class="form-search">
                <span class="input-icon">
                    <input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
                    <i class="icon-search nav-search-icon"></i>
                </span>
            </form>
        </div><!-- #nav-search -->
    </div>
    <h3 >&nbsp;</h3>
    <div class="main-content">
        <div class="col-xs-12">
            <form class="form-horizontal" action="{:url('admin/safe/doedit',['id' => $res['id']])}">
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 项目名称: </label>

                    <div class="col-sm-9">
                        <input type="text" name="project_name" class="col-xs-10 col-sm-5" value="{$res['project_name']}"/>
                    </div>
                </div>
                <div class="space-4"></div>

                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right" for="form-field-2">工作要求: </label>

                    <div class="col-sm-9">
                        <input type="text" name="safety_job_requirement" class="col-xs-10 col-sm-5" value="{$res['safety_job_requirement']}"/>
                    </div>
                </div>
                <div class="space-4"></div>

                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right" for="form-field-2">工作内容: </label>

                    <div class="col-sm-9">
                        <input type="text" name="safety_job_content" class="col-xs-10 col-sm-5" value="{$res['safety_job_content']}"/>
                    </div>
                </div>

                <div class="space-4"></div>


                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right" for="form-field-2">工作记录: </label>

                    <div class="col-sm-9">
                        <input type="text" name="safety_job_logging" class="col-xs-10 col-sm-5" value="{$res['safety_job_logging']}"/>
                    </div>
                </div>
                <div class="space-4"></div>

                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right" for="form-field-tags">状态</label>
                    <div class="col-sm-9">
                        <input name="status" type="radio" value="1" {$res['status']==1?'checked':''} />开启 |
                        <input name="status" value="0" type="radio" {$res['status']==0?'checked':''} />关闭
                    </div>
                </div>
                <!--<div class="clearfix form-actions">-->

                <div >
                    <div class="col-md-offset-3 col-md-9">
                        <button class="btn btn-info" type="submit">
                            <i class="icon-ok bigger-110"></i>
                            提交
                        </button>

                        &nbsp; &nbsp; &nbsp;
                        <button class="btn" type="reset">
                            <i class="icon-undo bigger-110"></i>
                            重置
                        </button>
                    </div>
                </div>
            </form>
        </div>
    </div>

</div>


{/block}